package cn.stylefeng.guns.modular.goodsEvaluate.mapper;


import cn.stylefeng.guns.modular.goodsEvaluate.entity.TaoGoodsEvaluate;
import cn.stylefeng.guns.modular.goodsEvaluate.model.params.TaoGoodsEvaluateParam;
import cn.stylefeng.guns.modular.goodsEvaluate.model.result.TaoGoodsEvaluateResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品评价 Mapper 接口
 * </p>
 *
 * @author lcw
 * @since 2019-11-01
 */
public interface TaoGoodsEvaluateMapper extends BaseMapper<TaoGoodsEvaluate> {

    /**
     * 获取列表
     *
     * @author lcw
     * @Date 2019-11-01
     */
    List<TaoGoodsEvaluateResult> customList(@Param("paramCondition") TaoGoodsEvaluateParam paramCondition);

    /**
     * 获取map列表
     *
     * @author lcw
     * @Date 2019-11-01
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") TaoGoodsEvaluateParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author lcw
     * @Date 2019-11-01
     */
    Page<TaoGoodsEvaluateResult> customPageList(@Param("page") Page page, @Param("paramCondition") TaoGoodsEvaluateParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author lcw
     * @Date 2019-11-01
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") TaoGoodsEvaluateParam paramCondition);

}
